package com.data.center.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2024-01-15 03:37:19
 */
@Getter
@Setter
@TableName("contributor")
@ApiModel(value = "Contributor对象", description = "")
public class Contributor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("候选对象ID")
    @MppMultiId("candidate_id")
    private String candidateId;

    @ApiModelProperty("科技成果ID")
    @MppMultiId("publication_id")
    private String publicationId;

    @ApiModelProperty("排序")
    @TableField("position")
    private Integer position;

    @ApiModelProperty("姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty("工作单位")
    @TableField("affiliation")
    private String affiliation;

    @ApiModelProperty("邮箱")
    @TableField("email")
    private String email;

    @ApiModelProperty("贡献类型")
    @TableField("contribution_type")
    private String contributionType;


}
